net: hns3: remove unnecessary configuration recapture while resetting
authorHuazhong Tan <tanhuazhong@huawei.com>
Tue, 18 Dec 2018 11:37:52 +0000 (19:37 +0800)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 18 Jul 2019 22:23:17 +0000 (23:23 +0100)
commitc0a6a34519d8b309910a2f4ec7bce05f8af37f1b
tree374f86fb70ad0c0072d3ccef2868f6f9dc32e320
parent34d74425cb7c77b5c93d0bf4e0d70374938fa9bd
net: hns3: remove unnecessary configuration recapture while resetting

When doing reset, it is unnecessary to get the hardware's default
configuration again, otherwise, the user's configuration will be
overwritten.

Fixes: 4ed340ab8f49 ("net: hns3: Add reset process in hclge_main")
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Gbp-Pq: Topic bugfix/arm64/huawei-taishan
Gbp-Pq: Name 0017-net-hns3-remove-unnecessary-configuration-recapture-.patch
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c